package com.ydd.entity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) // 下划线转换
public class SysConfig implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String groupValue;
    private String tabValue;
    private String attrKey;
    private String attrName;
    private String attrValue;
    private Integer delFlag;
    private Integer type;
    private String configValue;
    private String validator;
    private String placeholder;
    private Integer canDelete;
    private Integer sortNum;
}
